home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / oops / r3modfnt.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.2 KB  |  48 lines

  1.  
  2. // JavaScript wrapper for r3modfnt.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_MODFNT_H = 1;
  7. include("oops/r3gadget.js")
  8.  
  9.  
  10. var R3CLID_MODALFONTSELECTOR = 1100;
  11.  
  12.  
  13.  
  14.  
  15. R3MFGA_FontSpec = 1100500;
  16. function SetR3MFGA_FontSpec(value) {
  17.   R3Set(this.r3obj, R3MFGA_FontSpec, value, R3TID_STRING, 0); 
  18. }
  19.  
  20. function GetR3MFGA_FontSpec() {
  21.   return R3Get(this.r3obj, R3MFGA_FontSpec, R3TID_STRING, 0); 
  22. }
  23.  
  24. R3MFGA_OnlyOutlineFonts = 1100501;
  25. function SetR3MFGA_OnlyOutlineFonts(value) {
  26.   R3Set(this.r3obj, R3MFGA_OnlyOutlineFonts, value, R3TID_BOOLEAN, 0); 
  27. }
  28.  
  29. function GetR3MFGA_OnlyOutlineFonts() {
  30.   return R3Get(this.r3obj, R3MFGA_OnlyOutlineFonts, R3TID_BOOLEAN, 0); 
  31. }
  32.  
  33.  
  34.  
  35. function r3Modalfontselector () { 
  36.    this.base = r3God;
  37.    if(arguments.length) {
  38.       this.base(R3CLID_MODALFONTSELECTOR, arguments);
  39.    }
  40.    // Attributes
  41.    this.GetFontSpec=GetR3MFGA_FontSpec;
  42.    this.SetFontSpec=SetR3MFGA_FontSpec;
  43.    this.GetOnlyOutlineFonts=GetR3MFGA_OnlyOutlineFonts;
  44.    this.SetOnlyOutlineFonts=SetR3MFGA_OnlyOutlineFonts;
  45. }
  46.  
  47. r3Modalfontselector.prototype=new r3Gadget;
  48. // r3modfnt.h_H